package com.lrkj.back.mapper;

import java.util.List;
import java.util.Map;

import com.lrkj.back.entity.TbProduct;
import org.apache.ibatis.annotations.Param;

import cn.com.cbons.mamisay.parent.db.api.DBInterface;
import cn.com.cbons.mamisay.parent.exception.DBException;

public interface TbProductMapper extends DBInterface<TbProduct>{
	List<TbProduct> selectByPackageId(Map<String,Object>map) throws DBException;
	
	List<TbProduct> findAllProduct(Map<String,Object> map) throws DBException;

	List<TbProduct> findAllProductByTypeId(@Param("protypeId")Integer protypeId) throws DBException;
}